package mr.ali.video.web.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import mr.ali.video.web.model.Biao;
import mr.ali.video.web.mapper.BiaoMapper;
import mr.ali.video.web.service.IBiaoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Mr-ali
 * @since 2024-09-09
 */
@Service
public class BiaoServiceImpl extends ServiceImpl<BiaoMapper, Biao> implements IBiaoService {

   @Resource
   private BiaoMapper biaoMapper;

   @Override
   public List<Biao>  getBiao() {
      QueryWrapper<Biao> queryWrapper = new QueryWrapper<>();
      List<Biao> biaos =  biaoMapper.selectList(queryWrapper);
      return biaos;
   }
}
